'NWCONN.BAS NetWare Connection Services Interface for Visual Basic For Windows
'Version 1.0
'Novell Systems Research Department, Novell, Inc.
'Copyright (c) 1993, Novell, Inc.
'This interface is not supported through Novell's regular
'support channels. See README.TXT for more information.
Type DATE_AND_TIME
year As String * 1
month As String * 1
date As String * 1
hour As String * 1
minute As String * 1
second As String * 1
day As String * 1
End Type
Declare Function AttachToFileServer Lib "NWNETAPI.DLL" (ByVal serverName$, connectionID%) As Integer
Declare Function AttachToFileServerWithAddress Lib "NWNETAPI.DLL" (ByVal serverName$, connectionID%, ByVal netAddress) As Integer
Declare Function DetachFromFileServer Lib "NWNETAPI.DLL" (ByVal connectionID%) As Integer
Declare Function EnterLoginArea Lib "NWNETAPI.DLL" (ByVal loginSubdirectoryName$, ByVal numberOfLocalDrives%) As Integer
Declare Function GetConnectionInformation Lib "NWNETAPI.DLL" (ByVal connectionNumber&, ByVal objectName$, objectType%, objectID&, loginTime As DATE_AND_TIME) As Integer
Declare Function GetConnectionNumber Lib "NWNETAPI.DLL" () As Long
Declare Function GetInternetAddress Lib "NWNETAPI.DLL" (ByVal connectionNumber&, networkNumber&, physicalNodeAddress As NodeAddress, socketNumber%) As Integer
Declare Function GetObjectConnectionNumbers Lib "NWNETAPI.DLL" (ByVal objectName$, ByVal objectType%, numberOfConnections&, connectionList As Long, ByVal maxConnections&) As Integer
Declare Function GetStationAddress Lib "NWNETAPI.DLL" (physicalNodeAddress As NodeAddress) As Integer
Declare Function LoginToFileServer Lib "NWNETAPI.DLL" (ByVal objectName$, ByVal objectType%, ByVal objectPassword$) As Integer
Declare Function Logout Lib "NWNETAPI.DLL" () As Integer
Declare Function LogoutFromFileServer Lib "NWNETAPI.DLL" (ByVal connectionID%) As Integer